<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\LoanRequestFailedLog
 *
 * @property int $id
 * @property int $loan_request_id 授信id
 * @property string $code 返回code
 * @property string $message 错误信息
 * @property string $outCreditId 流水号
 * @property string $nfsp_user_id 新流用户id
 * @property int $amount 申请金额
 * @property int $period 期数
 * @property string $purpose 借款用途
 * @property string $deviceIP 设备ip
 * @property string $deviceGPS 请求时的gps地址
 * @property string $deviceType 设备类型
 * @property string $device 设备型号
 * @property string $deviceOS 设备系统号
 * @property string $deviceMac 设备mac号
 * @property string $deviceIMEI 设备imei号
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereDevice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereDeviceGPS($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereDeviceIMEI($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereDeviceIP($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereDeviceMac($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereDeviceOS($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereDeviceType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereLoanRequestId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereMessage($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereNfspUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereOutCreditId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog wherePeriod($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog wherePurpose($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\LoanRequestFailedLog whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class LoanRequestFailedLog extends Model
{
    protected $table = 'loan_request_faild_logs';
    protected $fillable = [
        'loan_request_id',
        'code',
        'message',
        'outCreditId',
        'nfsp_user_id',
        'amount',
        'period',
        'purpose',
        'deviceIP',
        'deviceGPS',
        'deviceType',
        'device',
        'deviceOS',
        'deviceMac',
        'deviceIMEI',
    ];
}
